package com.telemetria.controller;

import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

import com.telemetria.service.ArduinoService;
import com.telemetria.service.ArduinoServiceImpl;


@ManagedBean(name = "testeController")
@ViewScoped
public class testeController implements Serializable{

	private static final long serialVersionUID = -4005893340604892040L;
	
	private Integer count = 0;	
	
	private ArduinoService arduinoService;
	
	public void incrementa(){
		count++;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}
	
	public void pushObject(){
		
		arduinoService = new ArduinoServiceImpl();
		
		
	}
	

}
